﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title - 我的 ASP.NET 应用程序</title>
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
</head>
<body>
    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                @Html.ActionLink("应用程序名称", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" })
            </div>
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav">
                    <li>@Html.ActionLink("主页", "Index", "Home")</li>
                    <li>@Html.ActionLink("关于", "About", "Home")</li>
                    <li>@Html.ActionLink("联系方式", "Contact", "Home")</li> 
                    <li>@Html.ActionLink("班组", "Index", "Teams")</li>
                    <li>@Html.ActionLink("站点", "Index", "Stations")</li>
                    <li>@Html.ActionLink("成员", "Index", "Members")</li>
                    <li>@Html.ActionLink("设置", "Index", "WorkSets")</li>
                    <li>@Html.ActionLink("工时", "Index", "WorkTimes")</li>
                    <li>
                        <nav>
                           
                            @if (User.Identity.IsAuthenticated)
                            {
                                @:| @Html.ActionLink("登出", "Logout", "Member")
            }
                            else
                            {
                                @:| @Html.ActionLink("登入", "Login", "Member")
                                @:| @Html.ActionLink("註冊", "Register", "Member")
            }
                        </nav>

                    </li>
                </ul>
                
            </div>
           
        </div>
    </div>
    <div class="container body-content">
        @RenderBody()
        <hr />
        <footer>
            <p>&copy; @DateTime.Now.Year - 我的 ASP.NET 应用程序</p>
        </footer>
    </div>

    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/bootstrap")
    @RenderSection("scripts", required: false)
</body>
</html>
